#include <bits/stdc++.h>
using namespace std;
vector<string> split(string& str,char ch) {
	vector<string> res;
	string tmp;
	istringstream iss(str);
	while (getline(iss, tmp, ch)) {
		res.emplace_back(tmp);
	}
	return res;
}
string urldecode(string& str){
	int len = str.size();
	string res;
	for (int i = 0; i < len ; )
	{
		if(str[i]=='%'&&str[i+1]=='3'&&str[i+2]=='A'){
			cout << ":" << endl;
			res += ":";
			i += 3;
		}
		else if(str[i]=='%'&&str[i+1]=='2'&&str[i+2]=='C'){
			cout << "," << endl;
			res += ",";
			i += 3;
		}
		else{
			res += str[i];
			i++;
		}
	}
	return res;
}

int main()
{
	string data = "UUID=00000000269b64bb&specTimeStart=10:00:00&specTime=40&specTimeEnd=15:00:00&tempTime=10&camTime=10:30:00,12:00:00,13:30:00,15:00:00&test=123456789";
	vector<string> res = split(data, '&');
	unordered_map<string, string> parm_key_value;
	// for (int i = 0; i < res.size(); i++)
	// {
	// 	cout << i << " : " << res[i] << endl;
	// }
	for(auto&it:res){
		vector<string> param = split(it, '=');
		parm_key_value[param[0]] = param[1];
	}
	for(auto&it:parm_key_value){
		cout << it.first << ":" << it.second << endl;
	}

	return 0;
}